home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia1.dir / 00980_Script_Griz Payoff exit < prev    next >
Text File  |  1995-05-21  |  784b  |  34 lines

  1. on exitFrame
  2.   global length, OuchOrNot, snap1, snap2, theMovieName, gTheDay, GrizBust
  3.   if the movieTime of sprite 48 > length then
  4.     put the movietime of sprite 48 into OuchOrNot
  5.     
  6.     puppetsprite 48, false
  7.     set the movietime of sprite 48 = 0
  8.     set the movierate of sprite 48 to 0
  9.     set the sound of cast theMovieName to 0
  10.     updatestage
  11.     
  12.     if OuchOrNot >= 1580 then 
  13.       set GrizBust = "x"
  14.       updatestage
  15.       puppetsound 0
  16.       go frame "GrizPunchout"
  17.       exit
  18.     end if
  19.     
  20.     if snap1 <> 0 then
  21.       updatestage
  22.       puppetsound 0
  23.       go frame "Darkroom"
  24.       exit
  25.     else
  26.       updatestage
  27.       puppetsound 0
  28.       go frame gtheday & "NoShots"
  29.       exit
  30.     end if
  31.   else
  32.     go to the frame
  33.   end if
  34. end